
const routes = [
    {
        name: 'Home',
        path: '/',
        component: () => import('@/views/Home')
    },
    {
        name: 'Blog',
        path: '/blog',
        component: () => import('@/views/Blog')
    },
    {
        name: 'BlogDetail',
        path: '/blog/:id',
        component: () => import('@/views/Blog/Detail')
    },
    {
        name: 'CategoryBlog',
        path: '/blog/cate/:categoryId',
        component: () => import('@/views/Blog')
    },
    {
        name: 'About',
        path: '/about',
        component: () => import('@/views/About')
    },
    {
        name: 'Project',
        path: '/project',
        component: () => import('@/views/Project')
    },
    {
        name: 'Message',
        path: '/message',
        component: () => import('@/views/Message')
    }
]

export default routes